﻿using System.ComponentModel.DataAnnotations;
using System;
namespace XSTDZ.ERP.Application.DataContracts
{
    /// <summary>
    /// 销售单明细
    /// </summary>
    [Serializable]
    public class ProductOutBillDetailDto
    {
        public Guid ID { get; set; }
        [Display(Name = "销售单号")]
        [Required(ErrorMessage = "{0}不能为空！")]
        public System.Guid ProductSellBillID { get; set; }
         [Display(Name = "库存ID")]
        public System.Guid StockID { get; set; }//库存信息
        [Display(Name = "销售数量")]
        [Required(ErrorMessage = "{0}不能为空！")]
        public float SellAmount { get; set; }
        [Display(Name = "备品数量")]
        public float ReadyCount { get; set; }
        [Display(Name = "销售价格")]
        [Required(ErrorMessage = "{0}不能为空！")]
        public decimal SellPrice { get; set; }
         [Display(Name = "删除状态")]
        public int Deleted { get; set; }
         [Display(Name = "备注")]
        public string Remarks { get; set; }

        //
         public string WareHourseName { get; set; }//销售仓库
         public string ProductName { get; set; }//商品名称


    }
}
